package com.baidu.location;

import android.content.Context;
import android.telephony.TelephonyManager;
import android.text.TextUtils;

public final class am
{
  public static String a(Context paramContext)
  {
    paramContext = (TelephonyManager)paramContext.getSystemService("phone");
    if (paramContext != null)
    {
      String str = paramContext.getDeviceId();
      paramContext = str;
      if (TextUtils.isEmpty(str))
        paramContext = "";
      return paramContext;
    }
    return "";
  }
}